// 个体疫病记录ssss
import ax from "@/api/axios";
export default {
  /**
   * @description: 查询所有个体信息
   * @return {Object}
   */
  queryBionAll(params) {
    return ax.sheepOutA.get(`/bion/v1/bion/queryBionAll/${params.breed}`);
  },
  queryFacilityAll() {
    return ax.sheepOutA.post(`/bion/facility/queryFacilityGroupAll`, {});
  },
  queryPageByCondition(params) {
    return ax.sheepOutA.post(`/bion/v1/bionAbnormalDeath/queryPage`, params);
  },
  addDeathRecord(params) {
    return ax.sheepOutA.post(`/bion/v1/bionAbnormalDeath/add`, params);
  },
  editDeathRecord(params) {
    return ax.sheepOutA.post(`/bion/v1/bionAbnormalDeath/edit`, params);
  },
  delDeathRecord(params) {
    return ax.sheepOutA.post(`/bion/v1/bionAbnormalDeath/delList`, params);
  },
};
